WidgetClass.setTemplateScope

For use in language bindings, this will override the default GtkBuilderScope to be used when parsing GtkBuilder XML from this class’s template data.

Note that this must be called from a composite widget classes class initializer after calling [method@GtkWidgetClass.set_template].

class WidgetClass
void
setTemplateScope

Parameters

scope_ BuilderScopeIF

The GtkBuilderScope to use when loading the class template

Meta